﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:System="clr-namespace:System;assembly=mscorlib">
    <!-- Visibility -->
    <Visibility x:Key="ShowBackground">Visible</Visibility>
    <Visibility x:Key="ShowCovers">Visible</Visibility>
    <Visibility x:Key="ShowCoverText">Visible</Visibility>
    <Visibility x:Key="ShowPlays">Visible</Visibility>
    <Visibility x:Key="ShowBadges">Visible</Visibility>
    <Visibility x:Key="ShowStatus">Visible</Visibility>
    <Visibility x:Key="ShowLastPlayed">Visible</Visibility>
    <Visibility x:Key="ShowWeblink">Visible</Visibility>
    <Visibility x:Key="ShowZune">Visible</Visibility>
    <!-- Card Strings -->
    <System:String x:Key="ZuneTag">TAG</System:String>
    <System:String x:Key="Plays">PLAYS</System:String>
    <System:String x:Key="PlaysFull">PLAYSFULL</System:String>
    <System:String x:Key="Badges">BADGES</System:String>
    <System:String x:Key="Status">STATUS</System:String>
    <System:String x:Key="LastPlayed">LASTPLAYED</System:String>
    <System:String x:Key="Weblink">WEBLINK</System:String>
    <System:String x:Key="Location">LOCATION</System:String>
    <System:String x:Key="Biography">BIOGRAPHY</System:String>
    <System:String x:Key="Zune">ZUNE</System:String>
    <!-- Zune Colour -->
    <SolidColorBrush x:Key="ZuneColour" Color="#85152D"/>
    <!-- Style-->
    <Style x:Key="CoverArtText">
        <Setter Property="TextElement.Foreground" Value="White"/>
        <Setter Property="Control.BitmapEffect">
            <Setter.Value>
                <DropShadowBitmapEffect Color="Black" ShadowDepth="1" Softness="0.5"/>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="CoverTextAlt">
        <Setter Property="TextElement.Foreground" Value="Black"/>
        <Setter Property="Control.BitmapEffect">
            <Setter.Value>
                <DropShadowBitmapEffect Color="White" ShadowDepth="1" Softness="0.5"/>
            </Setter.Value>
        </Setter>
    </Style>
    <!-- Theme -->
    <Color x:Key="GradientStart">#FF6600</Color>
    <Color x:Key="GradientEnd">#FF0099</Color>
    <SolidColorBrush x:Key="Foreground" Color="#585858"/>
    <SolidColorBrush x:Key="Background" Color="#FFFFFF"/>
    <SolidColorBrush x:Key="Border" Color="#D8D8D8"/>
    <SolidColorBrush x:Key="SectionForeground" Color="#FFFFFF"/>
    <SolidColorBrush x:Key="SectionBackground" Color="#CC9D9D9D"/>
    <SolidColorBrush x:Key="ItemForeground" Color="#FF0099"/>
    <LinearGradientBrush x:Key="VerticalGradient">
        <GradientStop Offset="0" Color="{DynamicResource GradientEnd}"/>
        <GradientStop Offset="1" Color="{DynamicResource GradientStart}"/>
    </LinearGradientBrush>
    <LinearGradientBrush x:Key="HorizontalGradient">
        <GradientStop Offset="0" Color="{DynamicResource GradientStart}"/>
        <GradientStop Offset="1" Color="{DynamicResource GradientEnd}"/>
    </LinearGradientBrush>
    <!-- Zune Elements -->
    <LinearGradientBrush x:Key="ZuneKeel">
        <GradientStop Offset="0" Color="#020202"/>
        <GradientStop Offset="1" Color="#424242"/>
    </LinearGradientBrush>
    <LinearGradientBrush x:Key="ZunePad">
        <GradientStop Offset="0" Color="#66000000"/>
        <GradientStop Offset="1" Color="#22000000"/>
    </LinearGradientBrush>
    <LinearGradientBrush x:Key="ZunePadOuter">
        <GradientStop Offset="0" Color="#66FFFFFF"/>
        <GradientStop Offset="1" Color="#22FFFFFF"/>
    </LinearGradientBrush>
    <LinearGradientBrush x:Key="ZuneScreen">
        <GradientStop Offset="1" Color="#231F20"/>
        <GradientStop Offset="0" Color="#524F4F"/>
        <LinearGradientBrush.Transform>
            <RotateTransform Angle="68" CenterX="0.5" CenterY="0.5"/>
        </LinearGradientBrush.Transform>
    </LinearGradientBrush>
    <!-- Zune Device -->
    <VisualBrush x:Key="Device" Stretch="Uniform">
        <VisualBrush.Visual>
            <Canvas Width="20" Height="36">
                <Rectangle Height="36" Width="20" Fill="{DynamicResource ZuneColour}" Canvas.Left="0" Canvas.Top="0" RadiusX="1" RadiusY="1">
                    <Rectangle.BitmapEffect>
                        <OuterGlowBitmapEffect GlowColor="Black" GlowSize="2" />
                    </Rectangle.BitmapEffect>
                </Rectangle>
                <Rectangle Fill="{DynamicResource ZuneScreen}" Canvas.Left="1" Canvas.Top="1" Height="24" Stroke="#191616" Width="18"/>
                <Rectangle Canvas.Left="5.5" Canvas.Top="25" Height="9" Width="9" RadiusX="3" RadiusY="3" Fill="{DynamicResource ZunePad}" Stroke="{DynamicResource ZunePadOuter}"/>
            </Canvas>
        </VisualBrush.Visual>
    </VisualBrush>
    <!-- Zune -->
    <PathGeometry x:Key="BadgeItem" Figures="M 414.28572,180.93361 L 370.12574,222.11157 L 408.21874,268.95868 
                  L 355.20559,297.86082 L 380.45143,352.70948 L 321.91611,367.51977 L 332.72849,426.92365 
                  L 272.349,426.71151 L 268.04855,486.93803 L 209.61875,471.71678 L 190.47568,528.98171 
                  L 137.66692,499.70776 L 104.88406,550.41291 L 61.014526,508.92566 L 16.65174,549.88505 
                  L -15.522092,498.79128 L -68.677326,527.43128 L -87.133854,469.94141 L -145.7416,484.46246 
                  L -149.32113,424.18879 L -209.69884,423.67848 L -198.17647,364.40823 L -256.53039,348.89863 
                  L -230.6301,294.35595 L -283.29365,264.82158 L -244.64285,218.43361 L -288.30698,176.73022 
                  L -239.33425,141.41168 L -271.25538,90.159651 L -215.03784,68.129724 L -233.21025,10.549414 
                  L -173.28028,3.1923289 L -176.56213,-57.098284 L -116.68533,-49.320254 L -104.87041,-108.53289 
                  L -48.809069,-86.108466 L -22.639751,-140.52258 L 26.083592,-104.86077 L 64.962992,-151.05731 
                  L 103.28687,-104.39889 L 152.43342,-139.47517 L 177.9498,-84.751841 L 234.27543,-106.50389 
                  L 245.38103,-47.154128 L 305.34661,-54.215179 L 301.34362,6.0318506 L 361.18128,14.105467 
                  L 342.32123,71.464223 L 398.27115,94.165212 L 365.73908,145.03163 L 414.28572,180.93361 z"/>
    <LinearGradientBrush x:Key="ZuneGradient">
        <GradientStop Offset="0" Color="#E64E8D"/>
        <GradientStop Offset="0.0996" Color="#E6558A"/>
        <GradientStop Offset="0.259" Color="#EA6C76"/>
        <GradientStop Offset="0.4583" Color="#EC7D63"/>
        <GradientStop Offset="0.6897" Color="#EE884F"/>
        <GradientStop Offset="0.9452" Color="#EE8E3E"/>
        <GradientStop Offset="1" Color="#EE9037"/>
    </LinearGradientBrush>
    <PathGeometry x:Key="LogoPath" Figures="M158.423,60.824c2.102-3.708,4.078-8.157-2.594-11.987c-6.674-3.833-53.26-31.142-59.687-35.094
		l-0.247,0.123c-2.967-1.484-9.022-4.328-14.704-0.62c-5.686,3.709-49.06,29.164-56.845,33.737
		c-7.784,4.574-5.438,10.626-1.484,12.975c3.957,2.347,14.954,9.022,18.414,11.367c3.458,2.35,6.548,5.191,3.583,10.259
		c-2.967,5.068-22.243,38.676-26.197,45.104c-3.956,6.426-1.976,11.615,2.843,14.581c4.817,2.966,51.531,29.904,57.091,33.119
		c5.561,3.213,10.996,4.446,16.311,1.603c5.314-2.842,53.014-31.014,58.945-34.6c5.931-3.583,3.089-9.514,0.493-11.122
		c-2.595-1.605-15.818-10.255-20.884-13.467c-5.065-3.214-4.571-5.316-1.854-10.134C134.222,102.032,156.322,64.531,158.423,60.824z
		 M45.861,66.106c-2.452-1.31-11.489-6.594-13.793-8.028c-4.324-2.688-2.954-6.841,0.023-8.355
		c2.977-1.513,33.459-18.931,37.049-20.59c3.036-1.402,5.966,1.067,3.863,4.923c-1.328,2.438-14.879,25.373-17.353,29.576
		C53.182,67.833,49.881,68.252,45.861,66.106z M33.688,115.346c1.299-2.455,14.563-25.557,16.983-29.79
		c2.418-4.23,5.713-4.691,9.761-2.596c2.467,1.282,11.569,6.455,13.889,7.86c4.357,2.634,3.039,6.801,0.083,8.354
		c-2.957,1.547-33.224,19.342-36.791,21.045C34.593,121.661,31.635,119.225,33.688,115.346z M84.63,161.988
		c-0.263,4.448-3.782,6.505-10.181,2.664c-6.4-3.847-38.498-22.01-42.52-24.237c-4.023-2.228-6.146-5.854-0.643-8.93
		c5.502-3.074,40.188-23.075,45.14-26.113c4.951-3.041,8.5-1.54,8.445,4.65C84.803,118.225,84.891,157.541,84.63,161.988z
		 M84.853,80.729c0.127,3.336-2.834,6.552-7.285,4.086c-2.375-1.316-11.392-6.638-13.725-8.14c-3.835-2.467-5.076-5.556-2.608-9.759
		c2.467-4.205,15.904-27.207,17.387-29.555c2.344-3.71,5.93-2.357,6.182,0.979C85.1,42.283,84.726,77.392,84.853,80.729z
		 M91.818,28.199c-0.124-5.806,2.963-8.114,8.278-4.943c7.044,4.204,41.024,23.974,44.732,26.445
		c3.707,2.473,3.707,6.55-2.842,10.133c-6.55,3.585-38.432,22.12-42.384,24.468c-3.955,2.349-8.157,2.349-8.033-3.955
		S91.941,34.006,91.818,28.199z M91.818,151.278c-0.293-3.944,0.123-39.05,0-42.386c-0.124-3.338,2.842-6.549,7.291-4.079
		c2.369,1.318,11.382,6.651,13.716,8.157c3.829,2.472,5.065,5.562,2.596,9.763c-2.473,4.202-15.938,27.188-17.425,29.533
		C95.648,155.974,92.065,154.614,91.818,151.278z M130.793,123.562c2.449,1.311,11.481,6.608,13.781,8.045
		c4.322,2.694,2.948,6.845-0.031,8.355c-2.981,1.509-33.484,18.887-37.074,20.543c-3.038,1.399-5.966-1.076-3.86-4.928
		c1.331-2.438,14.909-25.354,17.387-29.555C123.473,121.825,126.774,121.41,130.793,123.562z M126.008,104.104
		c-2.425,4.229-5.721,4.686-9.767,2.584c-2.463-1.285-11.56-6.467-13.881-7.875c-4.351-2.638-3.03-6.806-0.071-8.352
		c2.961-1.546,33.249-19.304,36.817-21.005c3.02-1.436,5.979,1.002,3.922,4.879C141.724,76.789,128.433,99.875,126.008,104.104z"/>
        <DrawingImage x:Key="Logo">
            <DrawingImage.Drawing>
                <GeometryDrawing Brush="{StaticResource ZuneGradient}" Geometry="{StaticResource LogoPath}"></GeometryDrawing>
            </DrawingImage.Drawing>
        </DrawingImage>
        <!-- Images -->
        <DrawingImage x:Key="Avatar"/>
        <DrawingImage x:Key="AvatarImage">
            <DrawingImage.Drawing>
                <GeometryDrawing Brush="{StaticResource ZuneGradient}" Geometry="{StaticResource LogoPath}"></GeometryDrawing>
            </DrawingImage.Drawing>
        </DrawingImage>
        <DrawingImage x:Key="BackgroundImage"/>
        <!-- Covers -->
        <DrawingImage x:Key="CoverImage1"/>
        <DrawingImage x:Key="CoverImage2"/>
        <DrawingImage x:Key="CoverImage3"/>
        <DrawingImage x:Key="CoverImage4"/>
        <DrawingImage x:Key="CoverImage5"/>
        <DrawingImage x:Key="CoverImage6"/>
        <DrawingImage x:Key="CoverImage7"/>
        <DrawingImage x:Key="CoverImage8"/>
        <DrawingImage x:Key="CoverImage9"/>
        <DrawingImage x:Key="CoverImage10"/>
        <System:String x:Key="CoverText1">1</System:String>
        <System:String x:Key="CoverText2">2</System:String>
        <System:String x:Key="CoverText3">3</System:String>
        <System:String x:Key="CoverText4">4</System:String>
        <System:String x:Key="CoverText5">5</System:String>
        <System:String x:Key="CoverText6">6</System:String>
        <System:String x:Key="CoverText7">7</System:String>
        <System:String x:Key="CoverText8">8</System:String>
        <System:String x:Key="CoverText9">9</System:String>
        <System:String x:Key="CoverText10">10</System:String>
        <!-- Styles -->
    <Style x:Key="IconView" TargetType="ListBox">
            <Setter Property="ItemsPanel">
                <Setter.Value>
                    <ItemsPanelTemplate>
                        <WrapPanel IsItemsHost="True"/>
                    </ItemsPanelTemplate>
                </Setter.Value>
            </Setter>
        </Style>
        <Style x:Key="TagHyperlink" TargetType="{x:Type Hyperlink}">
            <Style.Triggers>
                <Trigger Property="IsMouseOver" Value="True">
                    <Setter Property="Foreground"  Value="DimGray"/>
                </Trigger>
            </Style.Triggers>
            <Setter Property="Foreground" Value="DimGray"/>
            <Setter Property="TextDecorations">
                <Setter.Value>
                    <TextDecorationCollection>
                        <TextDecoration PenThicknessUnit="FontRecommended">
                            <TextDecoration.Pen>
                                <Pen Thickness="1.5">
                                    <Pen.Brush>
                                        <LinearGradientBrush Opacity="0.5" StartPoint="0,0.5"  EndPoint="1,0.5">
                                            <LinearGradientBrush.GradientStops>
                                                <GradientStop Offset="1" Color="#FF0099"/>
                                                <GradientStop Offset="0" Color="#FF6600"/>
                                            </LinearGradientBrush.GradientStops>
                                        </LinearGradientBrush>
                                    </Pen.Brush>
                                    <Pen.DashStyle>
                                        <DashStyle Dashes="2"/>
                                    </Pen.DashStyle>
                                </Pen>
                            </TextDecoration.Pen>
                        </TextDecoration>
                    </TextDecorationCollection>
                </Setter.Value>
            </Setter>
    </Style>
</ResourceDictionary>
